﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Benefit.Models.Sys;
namespace Benefit.Interface.Month
{
    /// <summary>
    /// 同批次交易员月均值
    /// </summary>
    public interface IBatchAvgMonth
    {

        /// <summary>
        /// 删除当周所有记录
        /// </summary>
        /// <param name="weekId"></param>
        void Delete(int month, int year);

        /// <summary>
        /// 保存月同批次交易员均值
        /// </summary>
        /// <param name="tradeHistoryId">插入时间编号</param>
        /// <param name="pdate">插入时间</param>
        void InitBatchMonthAvg(int month, int year);

        Models.Month.BatchAvgMonth GetBatchAvgMonth(int batchId, int month, int year);
    }
}